# -*- ecoding: utf-8 -*-
# @ModuleName: login
# @Author: wangwei 
# @Time: 2023/10/18 10:43

from api.manager.managerbaseapi import ManagerBaseApi


class ManagerLogin(ManagerBaseApi):

    def __init__(self,username="admin",password="78b157cf49d312ecf69d1335e8b589ef",captcha="1512",uuid="3d087970-67d3-11ee-a264-af12cd801f3b"):
        super().__init__()
        self.url=f"{self.host}/admin/systems/admin-users/login"
        self.method="get"
        self.params={
            "username": username,
            "password":password,
            "captcha": captcha,
            "uuid": uuid
        }



if __name__ == '__main__':
    ManagerLogin().send()